package com.abc.factorymethod;

public class AppDemo {
	public static void main(String[] args) {
		CarFactory jeepFactory = new JeepFactory();
		ICarAble jeep = jeepFactory.create();
		jeep.brand();
		jeep.carType();
		CarFactory bmwFactory = new BmwFactory();
		ICarAble bmw = bmwFactory.create();
		bmw.brand();
		bmw.carType();
	
	}
}
